package com.edushare.common.vo.auto;

import java.util.Date;
import java.util.List;

import org.apache.cayenne.CayenneDataObject;

import com.edushare.common.vo.Answers;
import com.edushare.common.vo.Attendance;
import com.edushare.common.vo.CourseGrade;
import com.edushare.common.vo.ElectivePreference;
import com.edushare.common.vo.Enrolments;
import com.edushare.common.vo.FileDirectories;
import com.edushare.common.vo.FilesUploaded;
import com.edushare.common.vo.GenericAudience;
import com.edushare.common.vo.GroupMembers;
import com.edushare.common.vo.Groups;
import com.edushare.common.vo.ItemGrade;
import com.edushare.common.vo.MessageComments;
import com.edushare.common.vo.Messages;
import com.edushare.common.vo.Poll;
import com.edushare.common.vo.ProfessionalDetails;
import com.edushare.common.vo.ProfileAttrVals;
import com.edushare.common.vo.Publications;
import com.edushare.common.vo.ScheduleNotifications;
import com.edushare.common.vo.Schedules;
import com.edushare.common.vo.SemesterGrades;
import com.edushare.common.vo.SystemBackup;
import com.edushare.common.vo.UserAssignmentLink;
import com.edushare.common.vo.UserAttribSet;
import com.edushare.common.vo.UserBatchLink;
import com.edushare.common.vo.UserDeptLink;
import com.edushare.common.vo.UserPoll;
import com.edushare.common.vo.UserRoles;

/**
 * Class _Users was generated by Cayenne.
 * It is probably a good idea to avoid changing this class manually,
 * since it may be overwritten next time code is regenerated.
 * If you need to make any customizations, please use subclass.
 */
public abstract class _Users extends CayenneDataObject {

    public static final String ABOUT_ME_PROPERTY = "aboutMe";
    public static final String CONF_KEY_PROPERTY = "confKey";
    public static final String CREATION_TIMESTAMP_PROPERTY = "creationTimestamp";
    public static final String EMAIL_PROPERTY = "email";
    public static final String EXPERTISE_PROPERTY = "expertise";
    public static final String FIRST_NAME_PROPERTY = "firstName";
    public static final String HONORS_PROPERTY = "honors";
    public static final String INTERESTS_PROPERTY = "interests";
    public static final String LANDING_PAGE_ID_PROPERTY = "landingPageId";
    public static final String LAST_NAME_PROPERTY = "lastName";
    public static final String PASSWORD_PROPERTY = "password";
    public static final String PHONE_NO_PROPERTY = "phoneNo";
    public static final String SETTINGS_PROPERTY = "settings";
    public static final String STATUS_PROPERTY = "status";
    public static final String USER_ID_PROPERTY = "userId";
    public static final String USER_NAME_PROPERTY = "userName";
    public static final String ALL_RECEIVED_MSGS_PROPERTY = "allReceivedMsgs";
    public static final String ALL_SENTMESSAGES_PROPERTY = "allSentmessages";
    public static final String ANSWERS_PROPERTY = "answers";
    public static final String ASSIGNMENT_LINK_PROPERTY = "assignmentLink";
    public static final String ATTRIBUTE_SETS_PROPERTY = "attributeSets";
    public static final String BACKUPS_CREATED_PROPERTY = "backupsCreated";
    public static final String COMMENTS_MADE_PROPERTY = "commentsMade";
    public static final String COURSE_GRADES_PROPERTY = "courseGrades";
    public static final String CREATED_POLLS_PROPERTY = "createdPolls";
    public static final String DEPARTMENT_LINKS_PROPERTY = "departmentLinks";
    public static final String ENROLMENTS_PROPERTY = "enrolments";
    public static final String FILES_UPLOADED_PROPERTY = "filesUploaded";
    public static final String FOLDERS_CREATED_PROPERTY = "foldersCreated";
    public static final String GRADES_PROPERTY = "grades";
    public static final String GROUP_MEMBERSHIPS_PROPERTY = "groupMemberships";
    public static final String IMAGE_FILE_PROPERTY = "imageFile";
    public static final String INVITES_PROPERTY = "invites";
    public static final String OWNED_GROUP_PROPERTY = "ownedGroup";
    public static final String PREFERENCES_PROPERTY = "preferences";
    public static final String PRO_DETAILS_PROPERTY = "proDetails";
    public static final String PROFILE_ATTR_VALS_PROPERTY = "profileAttrVals";
    public static final String PUBLICATIONS_PROPERTY = "publications";
    public static final String REQUESTED_POLLS_PROPERTY = "requestedPolls";
    public static final String ROLE_LIST_PROPERTY = "roleList";
    public static final String SCHEDULES_PROPERTY = "schedules";
    public static final String SCHEDULES_CREATED_PROPERTY = "schedulesCreated";
    public static final String SEM_GRADES_PROPERTY = "semGrades";
    public static final String USER_ATTENDANCE_PROPERTY = "userAttendance";
    public static final String USER_BATCH_LINK_PROPERTY = "userBatchLink";

    public static final String USER_ID_PK_COLUMN = "USER_ID";

    public void setAboutMe(String aboutMe) {
        writeProperty("aboutMe", aboutMe);
    }
    public String getAboutMe() {
        return (String)readProperty("aboutMe");
    }

    public void setConfKey(String confKey) {
        writeProperty("confKey", confKey);
    }
    public String getConfKey() {
        return (String)readProperty("confKey");
    }

    public void setCreationTimestamp(Date creationTimestamp) {
        writeProperty("creationTimestamp", creationTimestamp);
    }
    public Date getCreationTimestamp() {
        return (Date)readProperty("creationTimestamp");
    }

    public void setEmail(String email) {
        writeProperty("email", email);
    }
    public String getEmail() {
        return (String)readProperty("email");
    }

    public void setExpertise(String expertise) {
        writeProperty("expertise", expertise);
    }
    public String getExpertise() {
        return (String)readProperty("expertise");
    }

    public void setFirstName(String firstName) {
        writeProperty("firstName", firstName);
    }
    public String getFirstName() {
        return (String)readProperty("firstName");
    }

    public void setHonors(String honors) {
        writeProperty("honors", honors);
    }
    public String getHonors() {
        return (String)readProperty("honors");
    }

    public void setInterests(String interests) {
        writeProperty("interests", interests);
    }
    public String getInterests() {
        return (String)readProperty("interests");
    }

    public void setLandingPageId(Integer landingPageId) {
        writeProperty("landingPageId", landingPageId);
    }
    public Integer getLandingPageId() {
        return (Integer)readProperty("landingPageId");
    }

    public void setLastName(String lastName) {
        writeProperty("lastName", lastName);
    }
    public String getLastName() {
        return (String)readProperty("lastName");
    }

    public void setPassword(String password) {
        writeProperty("password", password);
    }
    public String getPassword() {
        return (String)readProperty("password");
    }

    public void setPhoneNo(String phoneNo) {
        writeProperty("phoneNo", phoneNo);
    }
    public String getPhoneNo() {
        return (String)readProperty("phoneNo");
    }

    public void setSettings(String settings) {
        writeProperty("settings", settings);
    }
    public String getSettings() {
        return (String)readProperty("settings");
    }

    public void setStatus(Integer status) {
        writeProperty("status", status);
    }
    public Integer getStatus() {
        return (Integer)readProperty("status");
    }

    public void setUserId(Integer userId) {
        writeProperty("userId", userId);
    }
    public Integer getUserId() {
        return (Integer)readProperty("userId");
    }

    public void setUserName(String userName) {
        writeProperty("userName", userName);
    }
    public String getUserName() {
        return (String)readProperty("userName");
    }

    public void addToAllReceivedMsgs(Messages obj) {
        addToManyTarget("allReceivedMsgs", obj, true);
    }
    public void removeFromAllReceivedMsgs(Messages obj) {
        removeToManyTarget("allReceivedMsgs", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Messages> getAllReceivedMsgs() {
        return (List<Messages>)readProperty("allReceivedMsgs");
    }


    public void addToAllSentmessages(Messages obj) {
        addToManyTarget("allSentmessages", obj, true);
    }
    public void removeFromAllSentmessages(Messages obj) {
        removeToManyTarget("allSentmessages", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Messages> getAllSentmessages() {
        return (List<Messages>)readProperty("allSentmessages");
    }


    public void addToAnswers(Answers obj) {
        addToManyTarget("answers", obj, true);
    }
    public void removeFromAnswers(Answers obj) {
        removeToManyTarget("answers", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Answers> getAnswers() {
        return (List<Answers>)readProperty("answers");
    }


    public void addToAssignmentLink(UserAssignmentLink obj) {
        addToManyTarget("assignmentLink", obj, true);
    }
    public void removeFromAssignmentLink(UserAssignmentLink obj) {
        removeToManyTarget("assignmentLink", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserAssignmentLink> getAssignmentLink() {
        return (List<UserAssignmentLink>)readProperty("assignmentLink");
    }


    public void addToAttributeSets(UserAttribSet obj) {
        addToManyTarget("attributeSets", obj, true);
    }
    public void removeFromAttributeSets(UserAttribSet obj) {
        removeToManyTarget("attributeSets", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserAttribSet> getAttributeSets() {
        return (List<UserAttribSet>)readProperty("attributeSets");
    }


    public void addToBackupsCreated(SystemBackup obj) {
        addToManyTarget("backupsCreated", obj, true);
    }
    public void removeFromBackupsCreated(SystemBackup obj) {
        removeToManyTarget("backupsCreated", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<SystemBackup> getBackupsCreated() {
        return (List<SystemBackup>)readProperty("backupsCreated");
    }


    public void addToCommentsMade(MessageComments obj) {
        addToManyTarget("commentsMade", obj, true);
    }
    public void removeFromCommentsMade(MessageComments obj) {
        removeToManyTarget("commentsMade", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<MessageComments> getCommentsMade() {
        return (List<MessageComments>)readProperty("commentsMade");
    }


    public void addToCourseGrades(CourseGrade obj) {
        addToManyTarget("courseGrades", obj, true);
    }
    public void removeFromCourseGrades(CourseGrade obj) {
        removeToManyTarget("courseGrades", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<CourseGrade> getCourseGrades() {
        return (List<CourseGrade>)readProperty("courseGrades");
    }


    public void addToCreatedPolls(Poll obj) {
        addToManyTarget("createdPolls", obj, true);
    }
    public void removeFromCreatedPolls(Poll obj) {
        removeToManyTarget("createdPolls", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Poll> getCreatedPolls() {
        return (List<Poll>)readProperty("createdPolls");
    }


    public void addToDepartmentLinks(UserDeptLink obj) {
        addToManyTarget("departmentLinks", obj, true);
    }
    public void removeFromDepartmentLinks(UserDeptLink obj) {
        removeToManyTarget("departmentLinks", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserDeptLink> getDepartmentLinks() {
        return (List<UserDeptLink>)readProperty("departmentLinks");
    }


    public void addToEnrolments(Enrolments obj) {
        addToManyTarget("enrolments", obj, true);
    }
    public void removeFromEnrolments(Enrolments obj) {
        removeToManyTarget("enrolments", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Enrolments> getEnrolments() {
        return (List<Enrolments>)readProperty("enrolments");
    }


    public void addToFilesUploaded(FilesUploaded obj) {
        addToManyTarget("filesUploaded", obj, true);
    }
    public void removeFromFilesUploaded(FilesUploaded obj) {
        removeToManyTarget("filesUploaded", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<FilesUploaded> getFilesUploaded() {
        return (List<FilesUploaded>)readProperty("filesUploaded");
    }


    public void addToFoldersCreated(FileDirectories obj) {
        addToManyTarget("foldersCreated", obj, true);
    }
    public void removeFromFoldersCreated(FileDirectories obj) {
        removeToManyTarget("foldersCreated", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<FileDirectories> getFoldersCreated() {
        return (List<FileDirectories>)readProperty("foldersCreated");
    }


    public void addToGrades(ItemGrade obj) {
        addToManyTarget("grades", obj, true);
    }
    public void removeFromGrades(ItemGrade obj) {
        removeToManyTarget("grades", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<ItemGrade> getGrades() {
        return (List<ItemGrade>)readProperty("grades");
    }


    public void addToGroupMemberships(GroupMembers obj) {
        addToManyTarget("groupMemberships", obj, true);
    }
    public void removeFromGroupMemberships(GroupMembers obj) {
        removeToManyTarget("groupMemberships", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<GroupMembers> getGroupMemberships() {
        return (List<GroupMembers>)readProperty("groupMemberships");
    }


    public void setImageFile(FilesUploaded imageFile) {
        setToOneTarget("imageFile", imageFile, true);
    }

    public FilesUploaded getImageFile() {
        return (FilesUploaded)readProperty("imageFile");
    }


    public void addToInvites(GenericAudience obj) {
        addToManyTarget("invites", obj, true);
    }
    public void removeFromInvites(GenericAudience obj) {
        removeToManyTarget("invites", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<GenericAudience> getInvites() {
        return (List<GenericAudience>)readProperty("invites");
    }


    public void addToOwnedGroup(Groups obj) {
        addToManyTarget("ownedGroup", obj, true);
    }
    public void removeFromOwnedGroup(Groups obj) {
        removeToManyTarget("ownedGroup", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Groups> getOwnedGroup() {
        return (List<Groups>)readProperty("ownedGroup");
    }


    public void addToPreferences(ElectivePreference obj) {
        addToManyTarget("preferences", obj, true);
    }
    public void removeFromPreferences(ElectivePreference obj) {
        removeToManyTarget("preferences", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<ElectivePreference> getPreferences() {
        return (List<ElectivePreference>)readProperty("preferences");
    }


    public void addToProDetails(ProfessionalDetails obj) {
        addToManyTarget("proDetails", obj, true);
    }
    public void removeFromProDetails(ProfessionalDetails obj) {
        removeToManyTarget("proDetails", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<ProfessionalDetails> getProDetails() {
        return (List<ProfessionalDetails>)readProperty("proDetails");
    }


    public void addToProfileAttrVals(ProfileAttrVals obj) {
        addToManyTarget("profileAttrVals", obj, true);
    }
    public void removeFromProfileAttrVals(ProfileAttrVals obj) {
        removeToManyTarget("profileAttrVals", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<ProfileAttrVals> getProfileAttrVals() {
        return (List<ProfileAttrVals>)readProperty("profileAttrVals");
    }


    public void addToPublications(Publications obj) {
        addToManyTarget("publications", obj, true);
    }
    public void removeFromPublications(Publications obj) {
        removeToManyTarget("publications", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Publications> getPublications() {
        return (List<Publications>)readProperty("publications");
    }


    public void addToRequestedPolls(UserPoll obj) {
        addToManyTarget("requestedPolls", obj, true);
    }
    public void removeFromRequestedPolls(UserPoll obj) {
        removeToManyTarget("requestedPolls", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserPoll> getRequestedPolls() {
        return (List<UserPoll>)readProperty("requestedPolls");
    }


    public void addToRoleList(UserRoles obj) {
        addToManyTarget("roleList", obj, true);
    }
    public void removeFromRoleList(UserRoles obj) {
        removeToManyTarget("roleList", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserRoles> getRoleList() {
        return (List<UserRoles>)readProperty("roleList");
    }


    public void addToSchedules(ScheduleNotifications obj) {
        addToManyTarget("schedules", obj, true);
    }
    public void removeFromSchedules(ScheduleNotifications obj) {
        removeToManyTarget("schedules", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<ScheduleNotifications> getSchedules() {
        return (List<ScheduleNotifications>)readProperty("schedules");
    }


    public void addToSchedulesCreated(Schedules obj) {
        addToManyTarget("schedulesCreated", obj, true);
    }
    public void removeFromSchedulesCreated(Schedules obj) {
        removeToManyTarget("schedulesCreated", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Schedules> getSchedulesCreated() {
        return (List<Schedules>)readProperty("schedulesCreated");
    }


    public void addToSemGrades(SemesterGrades obj) {
        addToManyTarget("semGrades", obj, true);
    }
    public void removeFromSemGrades(SemesterGrades obj) {
        removeToManyTarget("semGrades", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<SemesterGrades> getSemGrades() {
        return (List<SemesterGrades>)readProperty("semGrades");
    }


    public void addToUserAttendance(Attendance obj) {
        addToManyTarget("userAttendance", obj, true);
    }
    public void removeFromUserAttendance(Attendance obj) {
        removeToManyTarget("userAttendance", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Attendance> getUserAttendance() {
        return (List<Attendance>)readProperty("userAttendance");
    }


    public void addToUserBatchLink(UserBatchLink obj) {
        addToManyTarget("userBatchLink", obj, true);
    }
    public void removeFromUserBatchLink(UserBatchLink obj) {
        removeToManyTarget("userBatchLink", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserBatchLink> getUserBatchLink() {
        return (List<UserBatchLink>)readProperty("userBatchLink");
    }


}
